/*
 * Hibernate Search, full-text search for your domain model
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.search.util.impl.integrationtest.mapper.stub;

import org.hibernate.search.engine.backend.work.execution.spi.DocumentContributor;
import org.hibernate.search.engine.backend.work.execution.spi.DocumentReferenceProvider;

public class StubDocumentProvider {

	private final DocumentReferenceProvider referenceProvider;
	private final DocumentContributor contributor;

	public StubDocumentProvider(DocumentReferenceProvider referenceProvider, DocumentContributor contributor) {
		this.referenceProvider = referenceProvider;
		this.contributor = contributor;
	}

	public DocumentReferenceProvider getReferenceProvider() {
		return referenceProvider;
	}

	public DocumentContributor getContributor() {
		return contributor;
	}
}
